package com.sita.tboard.hitchhike.bean;

/**
 * Created by xiaodong on 16/3/30.
 */
public class SelectedAddress {
    private Double latitude;
    private Double longitude;
    private String city;
    private String province;
    private String fullAddress;

    public String getCity() {
        return city;
    }

    public SelectedAddress setCity(String city) {
        this.city = city;
        return this;
    }

    public String getFullAddress() {
        return fullAddress;
    }

    public SelectedAddress setFullAddress(String fullAddress) {
        this.fullAddress = fullAddress;
        return this;
    }

    public double getLatitude() {
        return latitude;
    }

    public SelectedAddress setLatitude(double latitude) {
        this.latitude = latitude;
        return this;
    }

    public double getLongitude() {
        return longitude;
    }

    public SelectedAddress setLongitude(double longitude) {
        this.longitude = longitude;
        return this;
    }

    public String getProvince() {
        return province;
    }

    public SelectedAddress setProvince(String province) {
        this.province = province;
        return this;
    }

    public boolean isEmpty(){
        return latitude == null && longitude == null;
    }

    public void empty(){
        latitude = null;
        longitude = null;
        city = null;
        province = null;
        fullAddress = null;
    }
}
